﻿<%@ Page Title="" Language="VB" MasterPageFile="~/AdmMaster.master" AutoEventWireup="false"
  CodeFile="salvarNoticia.aspx.vb" Inherits="salvarNoticia" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
  TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
  <asp:ScriptManager ID="ScriptManager1" runat="server">
  </asp:ScriptManager>
  <div class="texto-basico">
    <table>
      <tr>
        <td style="width: 67px">
          &nbsp;
        </td>
        <td style="width: 67px">
          Título
        </td>
        <td style="width: auto">
          <asp:TextBox ID="titulo" runat='server' type="text" size="100" Columns="100" AutoCompleteType="Disabled"
            CausesValidation="True"></asp:TextBox>
        </td>
      </tr>
      <tr>
        <td style="width: 67px">
          &nbsp;
        </td>
        <td style="width: 67px">
          Corpo da notícia
        </td>
        <td>
          <cc1:Editor ID="corpo" runat="server" />
        </td>
      </tr>
      <tr>
        <td style="width: 67px">
          &nbsp;
        </td>
        <td style="width: 67px">
          Imagem
        </td>
        <td>
          <asp:FileUpload ID="imagem" runat="server" />
        </td>
      </tr>
      <tr>
        <td style="width: 67px">
          &nbsp;
        </td>
        <td style="width: 67px">
          Imagem
        </td>
        <td>
          <asp:HiddenField ID="hdf_nome_imagem" runat="server" />
          <asp:Image ImageUrl="" runat="server" ID="imagemUrl" />
        </td>
      </tr>
      <tr>
        <td style="width: 67px">
          &nbsp;
        </td>
        <td style="width: 67px">
        </td>
        <td>
          <asp:CheckBox ID="ativo" runat="server" Text="A notícia estará ativa?" />
        </td>
      </tr>
      <tr>
        <td style="width: 67px">
          &nbsp;
        </td>
        <td style="width: 67px">
          Data de Postagem
        </td>
        <td>
          <asp:Label ID="dataPostagem" runat="server"></asp:Label>
        </td>
      </tr>
      <tr>
        <td style="width: 67px">
          &nbsp;
        </td>
        <td style="width: 67px">
          <asp:Button ID="Button2" runat="server" Text="Limpar dados" />
        </td>
        <td style="width: 67px">
          <asp:Button ID="btnSalvar" runat="server" Text="Salvar Notícia" />
        </td>
      </tr>
    </table>
  </div>
</asp:Content>
